/**
 * @description: 清除浮动
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 响应式图片
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 横向排列，垂直居中布局
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 单行文本超出隐藏
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 多行文本超出隐藏
 * @Author:
 * @param {Number} num 最多要显示几行
 * @return:
 */
/**
 * @description: flex 垂直居中布局
 * @Author:
 * @param {String} cposition 水平排列方式
 * @return:
 */
/**
 * @description: 设置元素尺寸
 * @Author:
 * @param {Number} w 宽度
 * @param {Number} h 高度
 * @return:
 */
/**
 * @description: 2x的雪碧图缩放
 * @Author:
 * @param {Number} spriteW 雪碧图原始宽度
 * @param {Number} spriteH 雪碧图原始高度
 * @param {Number} bgOffsetX 背景定位原始X轴偏移量
 * @param {Number} bgOffsetY 背景定位原始Y轴偏移量
 * @return:
 */
/**
 * @description: 设置字体
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 修改滚动条样式
 * @Author:
 * @param {String} scrollW 滚动条宽度
 * @param {String} scrollC 滚动条背景色
 * @param {String} trackP 滑块背景色
 * @return:
 */
/**
 * @description: 设置背景图
 * @Author:
 * @param {String} url 图片路径
 * @return:
 */
/**
 * @description: 修改输入框占位符的字体颜色
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 禁止选中内容
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 鼠标移入图片放大效果
 * @Author:
 * @param {type}
 * @return:
 */
/**
 * @description: 铺满整个容器的绝对定位
 * @Author: 
 * @param {type} 
 * @return: 
 */
/**
 * @description: 绝对定位水平垂直居中
 * @Author: 
 * @param {type} 
 * @return: 
 */
/**
 * @description: 统一容器,视项目不同,数值有所不同
 * @Author: 
 * @param {type} 
 * @return: 
 */
/**
 * @description: 替代flex的inline-block
 * @Author: 
 * @param {type} 
 * @return: 
 */
/**
 * @description: 首页栏目标题样式
 * @Author: 
 * @param {type} 
 * @return: 
 */
/**
 * @description: 两端对齐辅助元素
 * @Author: 
 * @param {type} 
 * @return: 
 */
div.i3 {
	padding: 0.85rem 0 1.2rem;
}

@media screen and (max-width: 1024px) {
	div.i3 {
		padding: 0.6rem 0;
	}
}

.case {
	margin-top: 0.2rem;
}

.case img {
	width: 100%;
}

.case ul {
	margin-left: -0.2rem;
	margin-right: -0.2rem;
}

.case ul li {
	float: left;
	width: 50%;
	padding: 0.2rem;
}

.case ul li a {
	display: block;
	position: relative;
	overflow: hidden;
}

.case .case-tex {
	position: absolute;
	width: 100%;
	height: 1.2rem;
	padding: 0.3rem;
	bottom: 0;
	transition: all 0.6s;
}

.case .case-tex h3 {
	background: #ffffff;
	color: #1C1F88;
	display: inline-block;
	padding: 0.1rem 0.2rem;
	font-size: 0.25rem;
}

.case .case-tex p {
	visibility: hidden;
	color: #ffffff;
	font-size: 0.18rem;
	padding-right: 1rem;
	line-height: 0.4rem;
	margin-top: 0.3rem;
	overflow:hidden;
	text-overflow:ellipsis;	
	display:-webkit-box;	
	-webkit-line-clamp:3;	
	-webkit-box-orient:vertical;
}

.case .case-tex span {
	visibility: hidden;
	display: block;
	margin-top: 0.3rem;
	text-align: right;
	color: #ffffff;
	font-size: 0.18rem;

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.case .case-tex span img {
	width: auto;
}

.case ul li:hover .case-tex {
	height: 100%;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	transition: all 0.6s;
	box-sizing: border-box;
	background: rgba(28, 31, 136, 0.5);
	transition: all 0.6s;
}


.case ul li:hover .case-tex p,.case ul li:hover .case-tex span {
	visibility: visible;
}

@media screen and (max-width: 1024px) {
    .case {
        margin-top: .5rem;
    }
	.case ul li {
        padding: 0.1rem;
    }
    .case ul li:hover .case-tex {
        padding-top: 0.2rem;
        padding-bottom: 0.1rem;
    }
    .case .case-tex h3 {
        font-size: 0.3rem;
    }
    .case .case-tex p {
        font-size: 0.28rem;
        padding-right: 0;
        line-height: 0.3rem;
        margin-top: 0.1rem;
        -webkit-line-clamp: 1 !important;
    }
    .case .case-tex span {
        margin-top: .2rem;
    }
}